package com.jgy.juc.ticket;

import java.util.UUID;

/**
 * @author 姜光远
 * @date 2023/3/7 22:03
 */
public class test {
    public static void main(String[] args) {
        Windows windows = new Windows();
        Thread t1 = new Thread(windows);
        Thread t2 = new Thread(windows);

        t1.setName("窗口1");
        t2.setName("窗口2");

        t1.start();
        t2.start();
    }
}
